import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsString } from 'class-validator';

export class UpdateWebsiteTypeDto {
  @IsString()
  @ApiProperty({
    description: '网站类型名称',
    required: true,
  })
  name: string;

  @IsString()
  @ApiProperty({
    description: '网站类型描述',
  })
  description: string;
}
